﻿/*
    Advanced Flash Engine in ActionScript 3.
    Copyright (C) 2009  Dean Gardiner

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
//FOR COMMENTS REFER TO base.as!
package com.winmastergames.lolgame.weapons
{
	import flash.display.*;
	import flash.events.*;
	import flash.display.Stage;
	import com.winmastergames.lolgame.weapons.base;
	import com.winmastergames.lolgame.mapDefault;
	public class Glock extends base
	{
		//Set's ref to mapDefault, writeX and writeY are the spawn x,y
		public function Glock(writeStage:mapDefault, writeX:Number, writeY:Number,ammo:Number)
		{
			super(writeStage, writeX, writeY, ammo);
			maxClip = 20;
			fireRate = 0.8;
			damage = 40;
			defaultDamage = 40;
			reloadTime = 1.6;
			semiAuto = false;
			type = "pistol";
			ammoType = "9MM";
		}
	}
}